package com.yun.baymax.bean.adapter;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.yun.baymax.adapter.TrendsAdapter;
import com.yun.baymax.bean.User;

import java.util.ArrayList;
import java.util.List;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobRelation;

/**
 * Created by Administrator on 2017/5/27.
 */

public class Trends extends BmobObject implements MultiItemEntity {
    private static final long serialVersionUID = 1L;
    public String content;
    public String title;
    public String type;
    public User author;
    public List<String> pics;
    public BmobRelation likes;
    public List<String> votes = new ArrayList<>();

    @Override
    public int getItemType() {
        return TrendsAdapter.BODY_TYPE;
    }
}
